//
// Cuisine.cpp for plazza in /home/peelou/SVN/pizzaillo
// 
// Made by gery baudry
// Login   <baudry_g@epitech.net>
// 
// Started on  Mon Apr 15 15:30:50 2013 gery baudry
// Last update Wed Apr 17 13:26:37 2013 kevin lansel
//

#include	"Cuisine.hpp"

Cuisine::Cuisine(u_int nu_cookers, int time) : _stock(time)
{
  while (nu_cookers != 0)
    {
      this->_cookers.push_front(new Cuisinier/*(Attente des arguments)*/);
      nu_cookers--;
    }
}

Cuisine::~Cuisine()
{
}

/*
**Getter
*/

Stock		Cuisine::getStock() const
{
  return (this->_stock);
}

std::list<Cuisinier *>	Cuisine::getCookers() const
{
  return (this->_cookers);
}

/*
**Setter
*/

void		Cuisine::setStock(const Stock &stock)
{
  this->_stock = stock;
}

void		Cuisine::setCookers(const std::list<Cuisinier *> &cookers)
{
  this->_cookers = cookers;
}
